.class public Lcom/example/m6wmr/RunlistActivity;
.super Landroid/app/Activity;
.source "RunlistActivity.java"

# interfaces
.implements Lcom/wmr/Lstview/XListView$IXListViewListener;


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "HandlerLeak",
        "ShowToast"
    }
.end annotation


# static fields
.field public static OrderlistAct:Lcom/example/m6wmr/RunlistActivity;


# instance fields
.field private ListViewOrder:Lcom/wmr/Lstview/XListView;

.field private closebtn:Landroid/widget/ImageView;

.field public h:Landroid/os/Handler;

.field private isEdite:Z

.field private is_loading:Z

.field private m:Lmyapp/MyApp;

.field private mHandler:Landroid/os/Handler;

.field private mcontext:Landroid/content/Context;

.field private orderAdapter:Ldata/RunOrderData;

.field private orderls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/Runbean;",
            ">;"
        }
    .end annotation
.end field

.field private ordershowtype:Ljava/lang/String;

.field private page:I

.field private shoplayout:Landroid/widget/RelativeLayout;

.field private temporderls:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/Runbean;",
            ">;"
        }
    .end annotation
.end field

.field private waitLoginView:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 3

    .prologue
    const/4 v2, 0x0

    const/4 v1, 0x0

    .line 47
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 48
    iput-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->m:Lmyapp/MyApp;

    .line 51
    iput-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->h:Landroid/os/Handler;

    .line 52
    const-string v0, ""

    iput-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->ordershowtype:Ljava/lang/String;

    .line 54
    const/4 v0, 0x1

    iput v0, p0, Lcom/example/m6wmr/RunlistActivity;->page:I

    .line 56
    iput-boolean v2, p0, Lcom/example/m6wmr/RunlistActivity;->isEdite:Z

    .line 62
    iput-boolean v2, p0, Lcom/example/m6wmr/RunlistActivity;->is_loading:Z

    .line 63
    iput-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    .line 47
    return-void
.end method

.method static synthetic access$0(Lcom/example/m6wmr/RunlistActivity;)V
    .locals 0

    .prologue
    .line 217
    invoke-direct {p0}, Lcom/example/m6wmr/RunlistActivity;->onLoad()V

    return-void
.end method

.method static synthetic access$1(Lcom/example/m6wmr/RunlistActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 50
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$10(Lcom/example/m6wmr/RunlistActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 48
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$11(Lcom/example/m6wmr/RunlistActivity;)Ljava/lang/String;
    .locals 1

    .prologue
    .line 52
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->ordershowtype:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/m6wmr/RunlistActivity;)I
    .locals 1

    .prologue
    .line 54
    iget v0, p0, Lcom/example/m6wmr/RunlistActivity;->page:I

    return v0
.end method

.method static synthetic access$3(Lcom/example/m6wmr/RunlistActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 58
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->orderls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/m6wmr/RunlistActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 59
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->temporderls:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/m6wmr/RunlistActivity;)Lcom/wmr/Lstview/XListView;
    .locals 1

    .prologue
    .line 57
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/m6wmr/RunlistActivity;)Z
    .locals 1

    .prologue
    .line 56
    iget-boolean v0, p0, Lcom/example/m6wmr/RunlistActivity;->isEdite:Z

    return v0
.end method

.method static synthetic access$7(Lcom/example/m6wmr/RunlistActivity;Ldata/RunOrderData;)V
    .locals 0

    .prologue
    .line 60
    iput-object p1, p0, Lcom/example/m6wmr/RunlistActivity;->orderAdapter:Ldata/RunOrderData;

    return-void
.end method

.method static synthetic access$8(Lcom/example/m6wmr/RunlistActivity;)Ldata/RunOrderData;
    .locals 1

    .prologue
    .line 60
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->orderAdapter:Ldata/RunOrderData;

    return-object v0
.end method

.method static synthetic access$9(Lcom/example/m6wmr/RunlistActivity;I)V
    .locals 0

    .prologue
    .line 54
    iput p1, p0, Lcom/example/m6wmr/RunlistActivity;->page:I

    return-void
.end method

.method private onLoad()V
    .locals 2

    .prologue
    .line 218
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0}, Lcom/wmr/Lstview/XListView;->stopRefresh()V

    .line 219
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v0}, Lcom/wmr/Lstview/XListView;->stopLoadMore()V

    .line 220
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {p0}, Lcom/example/m6wmr/RunlistActivity;->GetTime()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setRefreshTime(Ljava/lang/String;)V

    .line 221
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/example/m6wmr/RunlistActivity;->is_loading:Z

    .line 222
    return-void
.end method


# virtual methods
.method public GetTime()Ljava/lang/String;
    .locals 3
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "SimpleDateFormat"
        }
    .end annotation

    .prologue
    .line 247
    new-instance v1, Ljava/text/SimpleDateFormat;

    .line 248
    const-string v2, "yyyy-MM-dd    hh:mm:ss"

    .line 247
    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    .line 249
    .local v1, "sDateFormat":Ljava/text/SimpleDateFormat;
    new-instance v2, Ljava/util/Date;

    invoke-direct {v2}, Ljava/util/Date;-><init>()V

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    .line 250
    .local v0, "date":Ljava/lang/String;
    return-object v0
.end method

.method public getorderlist()Z
    .locals 1

    .prologue
    .line 339
    new-instance v0, Lcom/example/m6wmr/RunlistActivity$6;

    invoke-direct {v0, p0}, Lcom/example/m6wmr/RunlistActivity$6;-><init>(Lcom/example/m6wmr/RunlistActivity;)V

    .line 409
    invoke-virtual {v0}, Lcom/example/m6wmr/RunlistActivity$6;->start()V

    .line 410
    const/4 v0, 0x0

    return v0
.end method

.method public loadlistView()V
    .locals 5

    .prologue
    const/4 v4, 0x0

    const/4 v3, -0x2

    .line 194
    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;

    const-string v2, "\u52a0\u8f7d\u8ba2\u5355\u6570\u636e\u4e2d"

    invoke-static {v1, v2, v4}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/Toast;->show()V

    .line 195
    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    invoke-virtual {v1}, Landroid/widget/RelativeLayout;->removeAllViews()V

    .line 196
    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    if-nez v1, :cond_0

    .line 197
    new-instance v1, Lcom/wmr/Lstview/XListView;

    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;

    invoke-direct {v1, v2}, Lcom/wmr/Lstview/XListView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    .line 198
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v3, v3}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 201
    .local v0, "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v1, v0}, Lcom/wmr/Lstview/XListView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 202
    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    const/4 v2, 0x1

    invoke-virtual {v1, v2}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 204
    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v1, p0}, Lcom/wmr/Lstview/XListView;->setXListViewListener(Lcom/wmr/Lstview/XListView$IXListViewListener;)V

    .line 209
    .end local v0    # "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    :cond_0
    iput-boolean v4, p0, Lcom/example/m6wmr/RunlistActivity;->is_loading:Z

    .line 210
    iget-object v1, p0, Lcom/example/m6wmr/RunlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v1, v2}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 213
    invoke-virtual {p0}, Lcom/example/m6wmr/RunlistActivity;->onRefresh()V

    .line 214
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 3
    .param p1, "requestCode"    # I
    .param p2, "resultCode"    # I
    .param p3, "data"    # Landroid/content/Intent;

    .prologue
    .line 323
    const-string v0, "fdsafdsafdsa"

    const-string v1, "xxxxx"

    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 324
    const-string v0, "loginback"

    new-instance v1, Ljava/lang/StringBuilder;

    const-string v2, "onActivityResultrequestCode"

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    .line 325
    const-string v2, "\n resultCode="

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 324
    invoke-static {v0, v1}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 326
    const/16 v0, 0x64

    if-ne p1, v0, :cond_0

    .line 327
    const/4 v0, 0x1

    if-ne p2, v0, :cond_0

    .line 328
    invoke-virtual {p0}, Lcom/example/m6wmr/RunlistActivity;->loadlistView()V

    .line 331
    :cond_0
    invoke-super {p0, p1, p2, p3}, Landroid/app/Activity;->onActivityResult(IILandroid/content/Intent;)V

    .line 332
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    const v5, 0x7f0c0001

    .line 67
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 68
    const v3, 0x7f0300ab

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/RunlistActivity;->setContentView(I)V

    .line 69
    invoke-virtual {p0}, Lcom/example/m6wmr/RunlistActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    check-cast v3, Lmyapp/MyApp;

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->m:Lmyapp/MyApp;

    .line 70
    iget-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v3}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    .line 71
    .local v0, "activityList":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Landroid/app/Activity;>;"
    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 72
    iput-object p0, p0, Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;

    .line 73
    sput-object p0, Lcom/example/m6wmr/RunlistActivity;->OrderlistAct:Lcom/example/m6wmr/RunlistActivity;

    .line 75
    const/high16 v3, 0x7f0c0000

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/RunlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/LinearLayout;

    .line 76
    .local v2, "top":Landroid/widget/LinearLayout;
    iget-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v3}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v3

    const-string v4, "1"

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    .line 77
    const v3, 0x7f070026

    invoke-virtual {v2, v3}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 80
    :cond_0
    invoke-virtual {p0, v5}, Lcom/example/m6wmr/RunlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/ImageView;

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->closebtn:Landroid/widget/ImageView;

    .line 81
    const v3, 0x7f0c0014

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/RunlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Lcom/wmr/Lstview/XListView;

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    .line 82
    iget-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 83
    iget-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    invoke-virtual {v3, p0}, Lcom/wmr/Lstview/XListView;->setXListViewListener(Lcom/wmr/Lstview/XListView$IXListViewListener;)V

    .line 84
    const v3, 0x7f0c004c

    invoke-virtual {p0, v3}, Lcom/example/m6wmr/RunlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/RelativeLayout;

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    .line 85
    const/4 v3, 0x0

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->waitLoginView:Landroid/view/View;

    .line 86
    invoke-virtual {p0, v5}, Lcom/example/m6wmr/RunlistActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    .line 87
    .local v1, "closebtn":Landroid/widget/ImageView;
    new-instance v3, Lcom/example/m6wmr/RunlistActivity$1;

    invoke-direct {v3, p0}, Lcom/example/m6wmr/RunlistActivity$1;-><init>(Lcom/example/m6wmr/RunlistActivity;)V

    invoke-virtual {v1, v3}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 93
    new-instance v3, Lcom/example/m6wmr/RunlistActivity$2;

    invoke-direct {v3, p0}, Lcom/example/m6wmr/RunlistActivity$2;-><init>(Lcom/example/m6wmr/RunlistActivity;)V

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->h:Landroid/os/Handler;

    .line 185
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->orderls:Ljava/util/List;

    .line 186
    new-instance v3, Ljava/util/ArrayList;

    invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->temporderls:Ljava/util/List;

    .line 187
    const-string v3, "MemberLoginActivity"

    const-string v4, "\u521d\u59cb\u5316\u6570\u636e"

    invoke-static {v3, v4}, Lmyapp/Mylog;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 188
    new-instance v3, Landroid/os/Handler;

    invoke-direct {v3}, Landroid/os/Handler;-><init>()V

    iput-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->mHandler:Landroid/os/Handler;

    .line 190
    invoke-virtual {p0}, Lcom/example/m6wmr/RunlistActivity;->loadlistView()V

    .line 191
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 2
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v1, 0x0

    .line 416
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    invoke-virtual {p2}, Landroid/view/KeyEvent;->getRepeatCount()I

    move-result v0

    if-nez v0, :cond_0

    .line 417
    invoke-virtual {p0}, Lcom/example/m6wmr/RunlistActivity;->finish()V

    .line 420
    :cond_0
    return v1
.end method

.method public onLoadMore()V
    .locals 4

    .prologue
    .line 256
    iget-boolean v0, p0, Lcom/example/m6wmr/RunlistActivity;->is_loading:Z

    if-nez v0, :cond_0

    .line 257
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/example/m6wmr/RunlistActivity;->is_loading:Z

    .line 258
    iget v0, p0, Lcom/example/m6wmr/RunlistActivity;->page:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/example/m6wmr/RunlistActivity;->page:I

    .line 260
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/example/m6wmr/RunlistActivity$4;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/RunlistActivity$4;-><init>(Lcom/example/m6wmr/RunlistActivity;)V

    .line 265
    const-wide/16 v2, 0x1f4

    .line 260
    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 268
    :cond_0
    return-void
.end method

.method public onRefresh()V
    .locals 4

    .prologue
    const/4 v1, 0x1

    .line 227
    iget-boolean v0, p0, Lcom/example/m6wmr/RunlistActivity;->is_loading:Z

    if-nez v0, :cond_0

    .line 228
    iput-boolean v1, p0, Lcom/example/m6wmr/RunlistActivity;->is_loading:Z

    .line 229
    iput v1, p0, Lcom/example/m6wmr/RunlistActivity;->page:I

    .line 230
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->ListViewOrder:Lcom/wmr/Lstview/XListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/wmr/Lstview/XListView;->setPullLoadEnable(Z)V

    .line 232
    iget-object v0, p0, Lcom/example/m6wmr/RunlistActivity;->mHandler:Landroid/os/Handler;

    new-instance v1, Lcom/example/m6wmr/RunlistActivity$3;

    invoke-direct {v1, p0}, Lcom/example/m6wmr/RunlistActivity$3;-><init>(Lcom/example/m6wmr/RunlistActivity;)V

    .line 240
    const-wide/16 v2, 0x1f4

    .line 232
    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 242
    :cond_0
    return-void
.end method

.method protected onStart()V
    .locals 0

    .prologue
    .line 318
    invoke-super {p0}, Landroid/app/Activity;->onStart()V

    .line 319
    return-void
.end method

.method public waitlogin()V
    .locals 6

    .prologue
    const/4 v5, -0x2

    .line 274
    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    invoke-virtual {v2}, Landroid/widget/RelativeLayout;->removeAllViews()V

    .line 275
    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->waitLoginView:Landroid/view/View;

    if-nez v2, :cond_0

    .line 276
    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->mcontext:Landroid/content/Context;

    const v3, 0x7f03009e

    .line 277
    const/4 v4, 0x0

    .line 276
    invoke-static {v2, v3, v4}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v2

    iput-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->waitLoginView:Landroid/view/View;

    .line 278
    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->waitLoginView:Landroid/view/View;

    .line 279
    const v3, 0x7f0c0301

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    .line 278
    check-cast v1, Landroid/widget/TextView;

    .line 280
    .local v1, "waitlogin":Landroid/widget/TextView;
    new-instance v2, Lcom/example/m6wmr/RunlistActivity$5;

    invoke-direct {v2, p0}, Lcom/example/m6wmr/RunlistActivity$5;-><init>(Lcom/example/m6wmr/RunlistActivity;)V

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 293
    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v0, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    .line 296
    .local v0, "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    const/16 v2, 0xa

    invoke-virtual {v0, v2}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    .line 297
    const/16 v2, 0xe

    const/4 v3, -0x1

    invoke-virtual {v0, v2, v3}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V

    .line 298
    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->waitLoginView:Landroid/view/View;

    invoke-virtual {v2, v0}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 300
    .end local v0    # "lp2":Landroid/widget/RelativeLayout$LayoutParams;
    .end local v1    # "waitlogin":Landroid/widget/TextView;
    :cond_0
    iget-object v2, p0, Lcom/example/m6wmr/RunlistActivity;->shoplayout:Landroid/widget/RelativeLayout;

    iget-object v3, p0, Lcom/example/m6wmr/RunlistActivity;->waitLoginView:Landroid/view/View;

    invoke-virtual {v2, v3}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    .line 301
    return-void
.end method
